DescribeSecurityCheckScheduleConfig
Description
call the DescribeSecurityCheckScheduleConfig interface to view the detection period and time period set by the user.
Request Method
POST
Request Path
/apsara/route/Sas/DescribeSecurityCheckScheduleConfig
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
SourceIp | BODY | string | No | 1.2.3.4 | access the IP address of the source. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Lang | BODY | string | No | zh | the language type of the request and receive message. zh: Chinese en: English |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RiskCheckJobConfig | No sample value for this parameter. | setting information for periodic detection tasks. | |
DaysOfWeek | string | 1,2,3 | detection period. You can set the value from Monday to Sunday, and you can set multiple days. Separate the number of days with English commas. 1: Monday 2: Tuesday 3: Wednesday 4: Thursday 5: Friday 6: Saturday 7: Sunday |
RequestId | string | 48D2E9A9-A1B0-4295-B727-0995757C47E9 | request ID of the result. |
EndTime | integer | 12 | detection end time. 6: End detection at 00:00-06:00 12: End detection at 06:00-12:00 18: End detection at 12:00-18:00 24: End detection at 18:00-24:00 |
StartTime | integer | 6 | detection start time. 0: start detection at 00:00-06:00 6: start detection at 06:00-12:00 12: start detection at 12:00-18:00 18: start detection at 18:00-24:00 |
Example
Successful Response example
{
"RiskCheckJobConfig":"",
"DaysOfWeek":"1,
2,
3",
"RequestId":"48D2E9A9-A1B0-4295-B727-0995757C47E9",
"EndTime":"12",
"StartTime":"6"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}